package com.lyy.extend_study.exercise;


/**
 * @Author:  GZQ
 * @date:  2024/11/14 23:45
 * @description: 测试类 (打印结果)
 */

public class ExtendsExercise03 {
    public static void main(String[] args) {
        Pc pc = new Pc("i7", "16G", "512G", "华硕");
        pc.printInfo();

        NotePad notePad = new NotePad("i7", "16G", "512G", "蓝色");
        notePad.showInfo();
    }
}
